package edu.lsnu.equipment_management_system.mapper.insert;

import edu.lsnu.equipment_management_system.pojo.po.entity.EquipmentRepairTablePo;
import org.apache.ibatis.annotations.Insert;

/**
 * @author mzy
 * @Description 插入到设备维修维护中
 * @date 2018/11/20
 */
public interface EquipmentRepairTableMapper {
    @Insert("insert into JBXX_WHWX" +
            "(SBBH, WHWX, ZGH, XHRQ1, XHYY, XHDD, XHRY, XHFY, BZ) \n" +
            "values (" +
            "#{equipmentNo}, " +
            "#{repairOr}, " +
            "#{userNo}, " +
            "#{repairDate}, " +
            "#{repairReason}, " +
            "#{repairPlace}, " +
            "#{repairMan}, " +
            "#{repairMoney}, " +
            "#{remark}) ")
    int insertEquipmentRepairTable(EquipmentRepairTablePo equipmentRepairTablePo);
}
